/*头部 */
#header{
    display:flex;
    border-bottom: 1px solid #ccc;
    line-height: 45px;
}
#header span{
    margin-left: 10px;
}
#header h3{
    flex: 1;
    text-align: center;
    font-weight: bold;
}

/* 购物车 */
.main .car-list{
    display: flex;
    flex-direction: column;
  }
  .main .car-list .car-item{
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 5px;
  }
  .main .checkbox{
    align-self: center;
  }
  .main .checkbox input {
   display: none;
  }
  .main .checkbox span{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ccc;
    outline: none;
    color: transparent;
    font-size: 14px;
    text-align: center;
    line-height: 16px;
    display: inline-block;
    cursor: pointer;
  }
  .main .checkbox input[type="checkbox"]:checked +span {
    background-color: #E43130;
    border: 1px solid #E43130;
    border-radius: 50%;
    color:#fff;
  }
  .main .car-list .car-item .content{
    display: flex;
    flex:1;
    align-items: center;
    border-bottom:1px solid #ddd;
    padding: 10px;
  }
  .main .content .car-img{
    width: 82.5px;
    height: 82.5px;
    margin:0px 10px;
  }
  .main .content .car-img img{
    width: 100%;
  }
  .main .content .car-desc{
    flex:1;
  }
  .main .content .car-desc .name{
    line-height: 30px;
  }
  .main .content .car-desc .desc{
    color:#999BA1;
    font-size: 12px;
  }
  .main .content .car-desc .price{
   color: #E43130;
   font-size: 14px;
   font-weight: bold;
   margin-top: 12px;
  }
  .main .car-list .contorl{
    position: absolute;
    display: flex;
    bottom: 10px;
    right: 10px;
  }
  .main .car-list .contorl input{
    width: 25px;
    margin: 0 -1px;
    border:1px solid #666;
    text-align: center;
  }
  .main .car-list .contorl div{
    border:1px solid #666;
    width: 20px;
    text-align: center;
  }
  /* 底线 */
  .bottom-line{
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    align-items: center;
  }
  .bottom-line .line{
    flex:1;
    align-items: center;
    margin: 0px 5px;
    border-bottom:1px solid #ddd;
  }
  .bottom-line .text{
    font-size: 12px;
    color:#333;
    margin: 0 5px;
  }
  /* 顶部购物车 */
  .shop-car{
    display: flex;
    justify-content: space-between;
    border:1px solid #ddd;
    border-left: none;
    border-right:none;
    line-height: 35px;
  }
  .shop-car .checkbox input{
    display: none;
  }
  .shop-car .checkbox span{
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 50%;
    outline: none;
    color: transparent;
    font-size: 14px;
    text-align: center;
    line-height: 16px;
    cursor: pointer;
    margin-left: 5px;
  }
  .shop-car .checkbox input:checked+span {
    background-color: #E43130;
    border: 1px solid #E43130;
    border-radius: 50%;
    color:#fff;
  }
  .shop-car .total{
    color:#666;
  }
  .shop-car .total span{
    color: #E43130;
  }
  .shop-car a{
    display: inline-block;
    height: 100%;
    line-height: 35px;
    background-color: #E43130;
    color:#fff;
    padding: 0 10px;
  }